.banner {
  display: flex;
  justify-content: center;
  height: 680px;
  background-image: url('../assets/image/honor/honor_bg.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding-top: 267px;
}

.banner-content {
  width: 80%;
}

.banner-content-title {
  font-size: 60px;
  font-weight: 500;
}

.honor-container {
  width: 100%;
  max-width: 1408px;
  padding: 2.5rem 0 5rem;
}

.honor-box {
  width: 100%;
  display: flex;
  margin: 0;
  padding: 0;
}

.nav-bar-box {
  margin-bottom: 2.5rem;
}

.nav-bar-box img {
  width: 1.31rem;
  height: 1.31rem;
  margin-right: 0.5rem;
}

.nav-bar-box {
  font-size: 14px;
  color: #666666;
  line-height: 20px;
}

.nav-bar-box span {
  color: #999;
}

.tab-item-box {
  width: 15.94rem;
  overflow-x: scroll;
  margin-right: 1.19rem;
  /* 隐藏滚动条但保持可滚动 */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

.tab-item {
  width: 15.94rem;
  font-weight: 500;
  background-color: transparent;
  font-size: 1rem;
  color: #333333;
  line-height: 1.25rem;
  height: 3.38rem;
  border: none;
  border-radius: 3.38rem;
  margin-bottom: 1.25rem;
}

.tab-item.active {
  background-color: #FFC637;
}

.list-container {
  flex: 1;
}

.honor-list {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
}

@keyframes showList {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.show {
  max-height: max-content;
  opacity: 1;
  animation: showList 0.5s ease-in-out;
}

.card {
  border: 0;
}

.card .img-box {
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #D8D8D8;
}

.card img {
  object-fit: cover;
  /* 保持图片比例填充 */
  transition: transform 0.3s ease;
  /* 添加过渡动画 */
}

.card img:hover {
  transform: scale(1.1);
  /* 鼠标悬停时放大1.1倍 */
}

.card-body {
  padding: 0.88rem 0 4rem;
  font-size: 1rem;
  color: #333333;
  line-height: 1.25rem;
}

/* 1200px */
@media screen and (max-width: 1200px) {
  .banner {
    padding-top: 236px;
  }
  .banner-content-title {
    font-size: 74px;
  }

  .honor-container {
    padding: 1.88rem 1.25rem 2rem;
  }

  .nav-bar-box {
    margin-bottom: 1.88rem;
  }

  .honor-box {
    display: block;
  }

  .tab-item-box {
    width: 100%;
    display: flex;
    overflow-x: scroll;
    margin-right: 0;
    gap: 1.25rem;
  }
}

@media screen and (max-width: 900px) {
  .banner {
    height: 428px;
    padding-top: 180px;
  }
  .banner-content-title {
    font-size: 44px;
  }
}

/* 576px */
@media screen and (max-width: 576px) {
  .nav-bar-box {
    margin-bottom: 1.25rem;
  }

  .nav-bar-box img {
    width: 0.94rem;
    height: 0.94rem;
    margin-right: 0.25rem;
  }

  .card {
    padding: 0;
  }

  .card-body {
    padding: 0.63rem 1.13rem 1.25rem;
  }

  .tab-item {
    min-width: 7.5rem;
    height: 2.75rem;
    font-size: 0.94rem;
  }
}